<!-- FOR POPUP - COLOR BOX -->
<link href="<?php echo Yii::app()->request->baseUrl; ?>/contents/colorbox/style3/colorbox.css" rel="stylesheet"/>

<script src="<?php echo Yii::app()->request->baseUrl; ?>/contents/colorbox/jquery.colorbox.js"></script>

<div class="row" id="home-slider">
    <?php $this->renderPartial('//Partials/_IndexSlider'); ?>
</div>

<div class="row">
    <div class="breadcrumb">
        <div class="container">
            <div class="col-xs-12">
                <div class="col-xs-7">
                    <h4><?php echo Yii::t("view_site_home", "WHAT'S HOT?"); ?></h4>
                </div>
                <div class="col-xs-5 text-right">
                    <?php $this->renderPartial('//Partials/_SupportsOnline'); ?>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="clearfix"></div>

<div class="row" id="products-hot">
    <div class="container">
        <?php foreach ($products as $product): ?>
            <div class="col-xs-3">
                <?php $this->renderPartial('//Partials/_ProductBoxPopup', array('product' => $product)); ?>
            </div>
        <?php endforeach; ?>
        <div class="col-xs-12 text-right">
            <a href="<?php echo $this->createUrl('/categories'); ?>">
                <span><?php echo Yii::t("view_site_home", "All Products"); ?></span>
                <i class="fa fa-chevron-right"></i>
            </a>
        </div>
    </div>
</div>

<div class="row" id="home-quotes">
    <?php $this->renderPartial(
        '//Partials/_QuotesSlider',
        array()
    ); ?>
</div>

